#pragma once
#include "AccountDef/AccountLoginDef.h"

enum G2Z_PROTOCAL
{
    g2z_protocol_begin,
    g2z_ping_signal,
    g2z_login_request,

    g2z_protocol_total
};

#pragma pack(1)

struct XG2ZHeader
{
    BYTE byProtocol;
};

struct G2Z_PING_SIGNAL : public XG2ZHeader
{
};

struct G2Z_LOGIN_REQUEST : public XG2ZHeader
{
    int32_t nLoginID;
    char    szAccount[MAX_ACC_NAME_LEN];
};

#pragma pack()